#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
	int m = 0;
	int x = 0;
	int j = 0;
	scanf("%d", &m);
	int n = m;
	while(m)
	{
		j = m % 10;
		x = x* 10 + j;
		m /= 10;
	} 
	printf("n+x=%d+%d=%d",x,n, x+n);
	return 0;
}